Skip to main content
POST
Create an allocation

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for creating allocation entity.

owner_id
string<uuid>
required

The id of the user who created this allocation

status
enum<string>
required

Represents the status of an allocation between a campaign and placement.

Available options:
pending,
requested,
published,
rejected,
canceled,
finished
tagid
string<uuid>
required

The id of the placement where the campaign will be allocated

cid
string<uuid> | null

The id of the campaign to be allocated to the placement

created_at
string<date-time> | null

The date and time the entity was created.

crid
string<uuid> | null
deprecated
ext
Ext · object
last_comment
string
default:""

Most recent comment added by retailer during the allocation approval process

updated_at
string<date-time> | null

The date and time the entity was last updated.

Response

Successful Response

Schema for reading allocation entity.

no
integer
required

The number of the allocation

owner_id
string<uuid>
required

The id of the user who created this allocation

status
string
required

The current status of the allocation (e.g. draft, published, rejected)

tagid
string<uuid>
required

The id of the placement where the campaign will be allocated

cid
string<uuid> | null

The id of the campaign to be allocated to the placement

created_at
string<date-time> | null

The date and time the entity was created.

crid
string<uuid> | null
deprecated
ext
Ext · object
last_comment
string
default:""

Most recent comment added by retailer during the allocation approval process

updated_at
string<date-time> | null

The date and time the entity was last updated.